/**
* 通用css样式布局处理
* Copyright (c) 2019 ruoyi
*/

// 一行的的文字超出隐藏
.ellipsis{
  word-break: keep-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ellipsistwo{
  word-break: break-all;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

//  element ui 按钮重置
.buttonStyle{
  font-size: 14px;
  text-align: center;
  border-radius: 5px;
  height: 40px;
  padding: 0;
  box-sizing: border-box;
  margin-right: 20px;
}
.buttonStyle:hover {
  box-shadow: 0px 3px 5px #e1e1e1;
  cursor: pointer;
}
.cancelButton{
  font-size: 14px;
  background-color: #f1f2f4;
  color: #045db9;
  text-align: center;
  border-radius: 5px;
  width: 120px;
  text-align: center;
  line-height: 40px;
  height: 40px;
  padding: 0;
}
.sendButton{
  font-size: 14px;
  background-color: #045db9;
  color: #ffffff;
  text-align: center;
  border-radius: 5px;
  margin-right: 10px;
  width: 120px;
  text-align: center;
  line-height: 40px;
  height: 40px;
  padding: 0;
}

/* 设置滚动条的样式 */
::-webkit-scrollbar {
  width: 10px;
  height: 14px;
}
/* 滚动槽 */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  background: #ededed;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background: #b1cdeb;
}
// ::-webkit-scrollbar-thumb:window-inactive {
//   background:rgba(255,0,0,0.4);
// }
